/*
 * State.h
 *
 *  Created on: Apr 3, 2013
 *      Author: root
 */

#ifndef STATE_H_
#define STATE_H_

#include "Buffer.h"
#include "GlobalVars.h"
#include <opencv/highgui.h>
class StateMachine;
class State{
public:
	State(){}

	virtual void Enter()=0;
	virtual void Exit()=0;
	virtual void Execute(StateMachine* s,Buffer* b,GlobalVars* v,CvCapture* cap)=0;
	~State(){}
};


#endif /* STATE_H_ */
